<form action="/sales/ajaxbutton?op=doSetGoodsClearState"  method="post" name="batchendorderST" id="batchendorderST">
<style type="text/css">
	.st1 tbody  tr td{padding:3px 3px;};
</style>
<input type="hidden" name="dataid" value="{{$dataid}}" />
<table cellpadding="0" cellspacing="0" border="1" class="stdtable st1">
 <thead>
  <tr class="child_subject tit">
    <th class="head1">NO.</th>
    <th class="head1">商品编号</th>
    <th class="head1">商品名称</th>
    <th class="head1">仓库</th>
    <th class="head1">仓位</th>
    <th class="head1"><strong>库存数</strong></th>
    <th class="head1">盘点数</th>
    </td>
  </tr>
 </thead>
  {{foreach from=$needstore item=li key=key}}
  <tr>
    <td>{{$key+1}}</td>
    <td><a href="/product/productlist?other={{$li.sku}}&filtertype=skuc" target="_blank" style="text-decoration:none;color:black;">{{$li.sku}}</a></td>
    <td>{{$li.goods_name|getstr:22:0}}</td>
    <td>{{$li.storagename}}</td>
    <td>{{$li.positions}}</td>
    <td>{{$li.stock}}</td>
    <td><input name="goodsid_{{$li.goods_id}}" type="text" style="width:30px;padding:4px 4px;" value="{{$li.confirmstock}}" /></td>
  </tr>
  {{/foreach}}
</table>
<div align="center" style="padding-top:10px;">
<button id="btn" type="submit" class="submit radius2">确认盘点数</button> 
</div>  
  </form>